package UCM;

import Controller.SimulationHandler;

/**
 * @author Matthew
 *         Date: Oct 27, 2010
 *         Time: 11:04:38 PM
 */
public class UCSaveSimulationState implements UCController{
    private SimulationHandler sh;

    public UCSaveSimulationState(SimulationHandler sh) {
        this.sh = sh;
    }

    public void run() {
        //System retrieves data needed for save
        sh.getSaveData();
        //System saves data to file
        sh.saveData();
    }
}
